fn pointer_equal(location1: *mut std::ffi::c_void, location2: *mut std::ffi::c_void) -> i32 {
    return (location1 == location2) as i32;
}
fn pointer_compare(location1: *mut std::ffi::c_void, location2: *mut std::ffi::c_void) -> i32 {
    if location1 < location2 {
        -1
    } else if location1 > location2 {
        1
    } else {
        0
    }
}
